# include "parser.h"
# include "../../../util/lists/linked-list.h"

void mostra (UCE *t) {
	fprintf(stdout,"Nome: %s\n",t->name);
}

int main () {
	UCE *tmp;
	FILE *fp = fopen("sample.txt","r");
	ChainingHashMap *map = readUCEs(fp);
	LinkedList *l = keySetChaining(map);
	while (l) {
		tmp = getChaining(map,l->data);
		mostra(tmp);
		l = nextElem(l);
	}
	fclose(fp);
	return 0;
}
